package com.tencent.wework.list.easy

/**
 * Created by huangwei on 2019/5/29.
 */
abstract class EasyRepository<DATA> {

    fun get():EasyRepository<DATA> = this

    abstract fun requestData(callback:(data:DATA)->Unit)

    abstract fun loadMoreData(offset:Any?,callback:(data:DATA)->Unit)

}